﻿using Shop.RemoteModel;
using Shop.RemoteModel.AdvertPlace.Model;
using SqlSugar;

namespace Shop.Model.DB
{
    [SugarTable("Advert_Place")]
    public class DBAdvertPlace
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string PlaceTitle { get; set; }

        /// <summary>
        /// 广告位类型
        /// </summary>
        public string PlaceType { get; set; }

        /// <summary>
        /// 示例图
        /// </summary>
        public string ExampleImg { get; set; }
        /// <summary>
        /// 使用范围
        /// </summary>
        public PageUseRange UseRange { get; set; }

        public string ImgShow { get; set; }

        /// <summary>
        /// 可上传的图片数
        /// </summary>
        public short ImgNum { get; set; }

        [SugarColumn(IsJson = true)]
        public PlaceImageSet ImgSet { get; set; }


        public AdvertPlaceStatus PlaceStatus { get; set; }
    }
}
